.menubar {
  -webkit-app-region: no-drag;
  display: flex;
  font-size: 14px;
  margin-left: 8px;

  &-menu-button {
    padding: 0 10px;
    transition: all 0.2s;

    &:hover {
      background-color: var(--color-bg-text-hover);
    }
  }

  &-dropdown {
    min-width: 260px;
    max-width: 500px;
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    user-select: none;
  }

  &-menu-item {
    height: 28px;
    line-height: 28px;
    cursor: default;
    padding: 0 5px;
    border-radius: var(--border-radius);
    transition: all .2s;
    width: 100%;
    display: flex;
    column-gap: 5px;
    user-select: none;

    > * {
      flex-shrink: 0;
    }

    &-icon {
      width: 30px;
      text-align: center;
    }

    &-name {
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    &.active,
    &:hover {
      background-color: var(--color-bg-text-hover);
    }
  }
}
